package com.ruoyi.domain.purchase;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 采购退货明细表对象 mes_purchase_return_item
 *
 * @author ruoyi
 * @date 2024-01-01
 */
@Data
public class MesPurchaseReturnItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 明细ID */
    private Long itemId;

    /** 退货单ID */
    @Excel(name = "退货单ID")
    private Long returnId;

    /** 原入库明细ID */
    @Excel(name = "原入库明细ID")
    private Long originalItemId;

    /** 物料ID */
    @Excel(name = "物料ID")
    private Long materialId;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String materialCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String specification;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 批次号 */
    @Excel(name = "批次号")
    private String batchCode;

    /** 退货数量 */
    @Excel(name = "退货数量")
    private BigDecimal quantity;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal unitPrice;

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal totalPrice;

    /** 退货原因 */
    @Excel(name = "退货原因")
    private String returnReason;

    /** 质量状态 */
    @Excel(name = "质量状态")
    private String qualityStatus;

    /** 库位 */
    @Excel(name = "库位")
    private String location;
}